﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml.Linq;
using System.Web.Profile;

namespace Presentacion
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ProfileBase profileg = ProfileBase.Create("COMPRAS");
            profileg.SetPropertyValue("codEmpleado", "1");
            profileg.SetPropertyValue("DNI", "45831021");
            profileg.SetPropertyValue("Empleado", "Fiorelly Guillen");

            profileg.Save();


            ProfileBase profilev = ProfileBase.Create("RRHH");
            profilev.SetPropertyValue("codEmpleado", "2");
            profilev.SetPropertyValue("DNI", "45738684");
            profilev.SetPropertyValue("Empleado", "Tatiana Vargas");

            profilev.Save();

            ProfileBase profilee = ProfileBase.Create("VENTAS");
            profilee.SetPropertyValue("codEmpleado", "3");
            profilee.SetPropertyValue("DNI", "45678934");
            profilee.SetPropertyValue("Empleado", "Sathya Escalante");

            profilee.Save();

            ProfileBase profilea = ProfileBase.Create("ALMACEN");
            profilea.SetPropertyValue("codEmpleado", "4");
            profilea.SetPropertyValue("DNI", "12345678");
            profilea.SetPropertyValue("Empleado", "Sheila Alva");

            profilea.Save();
        }
    }
}